<tagLib name="html" />
<include file="Public:header"/>
<div style="width:100%; height:15px;color:#000;margin:0px 0px 10px;">
    <div style="float:left;"><a href="{YICMS::U('Index/stat')}" target="main"><b>控制面板首页</b></a>&nbsp;&raquo;&nbsp;添加广告</div>
</div>
<form action="{YICMS::U('Ad/check')}" method="post">
    <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
        <tr class="header">
            <td colspan="2">添加广告</td>
        </tr>
        <tr>
            <td class="altbg1" width="20%"><b>广告名字:</b><br><span class="smalltxt">广告的名字，广告列表的标识</span></td>
            <td class="altbg2"><input type="text" name="name"></td>
        </tr>
        <tr>
            <td class="altbg1" width="20%"><b>广告代码:</b><br><span class="smalltxt">广告的代码，可用A标签链接到本地图片，<br/>或添加远程的JS代码广告，例如百度联盟</span></td>
            <td class="altbg2">
				<textarea name="code" cols="50" rows="6"></textarea>
			</td>
        </tr>  
    </table>
    <br>
    <center><input type="submit" class="button" value="添 加"></center><br>
</form>
<br>
<include file="Public:footer" />